﻿<Controls:SinacorWindow
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:Custom="http://schemas.xceed.com/wpf/xaml/datagrid"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	
		xmlns:Controls="clr-namespace:Sinacor.Infra.UI.Controls.SmartClient;assembly=Sinacor.Infra.UI.Controls"
	
	WindowStartupLocation="CenterScreen"
    WindowState="Maximized"
	Title="{DynamicResource Bovespa.Movimento.Label.ConsHistoricoOrdensNegocios}"
	
	x:Class="Sinacor.UI.Bovespa.Movimento.View.SmartClient.ConsultaHistoricoOrdensNegocios"
    
    ModulePlus="true"
    ModuleId="ORD" >

    <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
        <Controls:SinacorTabControl IsSynchronizedWithCurrentItem="True" 										
    		Width="Auto" 										
    		Height="Auto"
    		HorizontalAlignment="Stretch" 										
    		VerticalAlignment="Stretch" >
            <Controls:SinacorTabItem Header="{DynamicResource Bovespa.Movimento.Label.HistoricoOrdens}">

                <Controls:SinacorExpanderContainer Width="Auto" Height="Auto">
                    <Controls:SinacorExpanderContainer.RowDefinitions>
                        <RowDefinition Height="98" />
                        <RowDefinition Height="*" />
                    </Controls:SinacorExpanderContainer.RowDefinitions>
                    <Controls:SinacorExpander Grid.Row="0" 			
    					HorizontalAlignment="Stretch"
    					VerticalAlignment="Stretch"
    					Header="{DynamicResource Bovespa.Movimento.Label.Pesquisa}"
    					IsExpanded="True">
                        <Grid Width="Auto"
							Height="Auto"
							HorizontalAlignment="Left"
							VerticalAlignment="Top" 
							Margin="0,0,0,0">
                            <Controls:SinacorLabel HorizontalAlignment="Left" 
										Content="{DynamicResource Bovespa.Movimento.Label.DataPregao}" 
										HorizontalContentAlignment="Left" 
										Width="102"/>
                            <Controls:SinacorDatePicker HorizontalAlignment="Left" 
										Margin="0,21,0,0" 
										VerticalAlignment="Top" 
										TabIndex="1"
                                        x:Name="dtpDataPregao"
                                        Value="{Binding FiltroHistoricoOrdem.DataPregao}"  
                                        IsRequired="False"                                                                    
                                                        />
                            <Controls:SinacorLabel Width="70"
                                    	Content="{DynamicResource Bovespa.Movimento.Label.Cliente}" 
                                    	VerticalAlignment="Top"
                                    	Margin="109,0,0,0"
                                    	HorizontalAlignment="Left" 
										HorizontalContentAlignment="Left" />
                            <Controls:SinacorInt32TextBox Margin="109,21,0,0"  
                                    	TabIndex="2"  
                                    	Width="115" 
                                        IsFormated="False"
                                    	HorizontalAlignment="Left" 
										VerticalAlignment="Top" 
										Integers="7"
                                        x:Name="txtClienteOrdem" 
                                        Value="{Binding FiltroHistoricoOrdem.CodigoCliente}"/>                  
                            <Controls:SinacorButton HorizontalAlignment="Left"
										VerticalAlignment="Top"
                                    	Icon="IconButtonClient"
                                    	ToolTip="{DynamicResource Bovespa.Movimento.Tooltip.PesquisarCliente}"
                                    	Margin="228,21,0,0" 
                                    	TabIndex="3"
                                        x:Name="btnPesquisaClienteOrdem"  
                                        OnBufferedClick="btnPesquisaClienteOrdem_OnBufferedClick"
                                                    />
                            <Controls:SinacorLabel HorizontalAlignment="Left" 
                                    	Content="{DynamicResource Bovespa.Movimento.Label.Ativo}" 
                                    	Width="100" 
                                    	Margin="254,0,0,0" 
										VerticalAlignment="Top" 
										HorizontalContentAlignment="Left"/>
                            <Controls:SinacorTextBox VerticalAlignment="Top"
                                    	Margin="254,21,0,0"
                                    	TabIndex="4" 
                                    	Width="115" 
                                    	MaxLength="12" 
										HorizontalAlignment="Left" 
                                        x:Name="txtAtivoOrdem"   
                                        Text="{Binding FiltroHistoricoOrdem.Ativo}"             
                                                     />
                            <Controls:SinacorButton HorizontalAlignment="Left"
										VerticalAlignment="Top"
                                    	Icon="IconButtonSearch"
                                    	ToolTip="{DynamicResource Bovespa.Movimento.Tooltip.PesquisarAtivo}"
                                    	Margin="373,21,0,0" 
                                    	TabIndex="5"
                                        x:Name="btnPesquisaAtivoOrdem" 
                                        OnBufferedClick="btnPesquisaAtivoOrdem_OnBufferedClick"                                                        
                                                    />
                            <Controls:SinacorGroupBox VerticalAlignment="Top"
    							Header="{DynamicResource Bovespa.Movimento.Label.Natureza}"
    							Width="230"
    							Height="54"
    							HorizontalAlignment="Left" 
								Margin="405,0,0,0"                      >
                                <Grid Width="Auto"
    								Height="Auto"
    								HorizontalAlignment="Left"
    								VerticalAlignment="Top" 
									Margin="0,-2,0,0">
                                    <Controls:SinacorCheckBox VerticalAlignment="Top" 
										Content="{DynamicResource Bovespa.Movimento.Label.Compra}" 
										Width="101"
										TabIndex="6"
                                        x:Name="chkNatOprCompra"/>
                                    <Controls:SinacorCheckBox Width="101" 
										Content="{DynamicResource Bovespa.Movimento.Label.Venda}"
										HorizontalAlignment="Left" 
										Margin="105,0,0,0" 
										VerticalAlignment="Top"
										TabIndex="7"
                                        x:Name="chkNatOprVenda"
                                                              />
                                </Grid>
                            </Controls:SinacorGroupBox>
                            <Controls:SinacorLabel HorizontalAlignment="Left" 
								Content="{DynamicResource Bovespa.Movimento.Label.SituacaoOrdem}" 
								Margin="639,0,0,0" 
								VerticalAlignment="Top" 
								Width="147" 
								HorizontalContentAlignment="Left" />
                            <Controls:SinacorComboBox IsSynchronizedWithCurrentItem="True" 
								HorizontalAlignment="Left" 
								Margin="639,21,0,0" 
								VerticalAlignment="Top" 
								Width="100"
								TabIndex="8"
                                x:Name="cmbSitOtdem"/>
                            <Controls:SinacorButton Content="{DynamicResource Bovespa.Movimento.Label.Pesquisar}" 
                                    	Margin="806,8,0,0" 
                                    	HorizontalAlignment="Left" 
                                    	VerticalAlignment="Top" 
                                    	Width="115" 
                                    	IsDefault="True"
                                        CausesValidation="True"
                                    	TabIndex="9"
                                        x:Name="btnPesquisar"
                                        Click="btnPesquisar_Click"                                                    
                                                    />
                            <Controls:SinacorButton HorizontalAlignment="Left" 
                                    	Margin="806,33,0,0" 
                                    	Content="{DynamicResource Bovespa.Movimento.Label.NovaPesquisa}" 
                                    	VerticalAlignment="Top" 
                                    	Width="115"
                                    	TabIndex="10"
                                        x:Name="btnNovaPesquisa"
                                        Click="btnNovaPesquisa_Click"                                                    
                                                    />
                        </Grid>
                    </Controls:SinacorExpander>
                    <Controls:SinacorExpander Grid.Row="1" 			
    					                        HorizontalAlignment="Stretch"
    					                        VerticalAlignment="Stretch"
    					                        Header="{DynamicResource Bovespa.Movimento.Label.Ordens}"
    					                        Margin="0,4,0,0"
    					                        Width="Auto"
    					                        Height="Auto"
    					                        IsExpanded="True" 
						                        AllowExpand="False" >
                        <Grid>
                            <Controls:SinacorDataGrid x:Name="dtgOrdens"
											  HorizontalAlignment="Stretch"
											  Width="Auto" 																			
											  VerticalAlignment="Stretch" 										
											  Margin="0,0,0,0"
											  AllowBeginInsert="False" 
                            				  AllowBeginUpdate="False"
											  AllowCancelInsert="False"
											  AllowCancelUpdate="False"
											  AllowSave="False" 
											  AllowDelete="False"                                                       
											  TabIndex="11" 
                                              ItemsSource="{Binding ListaHistoricoOrdens}"
                                              MouseDoubleClick="dtgOrdens_MouseDoubleClick"
                                                      >
                                <Controls:SinacorDataGrid.ContextMenuTemplate>
                                    <DataTemplate>
                                        <StackPanel>
                                            <Controls:SinacorContextMenuItem Loaded="ContextMenu_ConsultarNegociosCasadosOrdem_Loaded" x:Name="ContextMenu_ConsultarNegociosCasadosOrdem" Click="ContextMenu_ConsultarNegociosCasadosOrdem_Click" Header="{DynamicResource Bovespa.Movimento.Label.ConsNegociosCasadosOrdem}"/>
                                        </StackPanel>
                                    </DataTemplate>
                                </Controls:SinacorDataGrid.ContextMenuTemplate>
                                <Controls:SinacorDataGrid.Columns>
                                    <Controls:Column Name="Data" 
    										 Title="Bovespa.Movimento.Label.Data" 
                                             HorizontalCellAlignment="Center"
                                             DisplayMemberPath="DataOrdem"        />
                                    <Controls:Column Name="Numero" 
    										 Title="Bovespa.Movimento.Label.Numero" 
                                             HorizontalCellAlignment="Center"
                                             DisplayMemberPath="Ordem" />
                                    <Controls:Column Name="Subsequencia" 
    										 Title="Bovespa.Movimento.Label.Subseq" 
                                             HorizontalCellAlignment="Center"
                                             DisplayMemberPath="SequenciaOrdem"/>
                                    <Controls:Column Name="Situacao" 
    										 Title="Bovespa.Movimento.Label.Situacao" 
                                             HorizontalCellAlignment="Center"
                                             DisplayMemberPath="SituacaoOrdem"/>
                                    <Controls:Column Name="Cliente" 
    										 Title="Bovespa.Movimento.Label.Cliente" 
                                             HorizontalCellAlignment="Right"
                                             DisplayMemberPath="CodigoCliente"/>
                                    <Controls:Column Name="Digito" 
    										 Title="Bovespa.Movimento.Label.Digito" 
                                             HorizontalCellAlignment="Center"
                                             DisplayMemberPath="DigitoCliente"/>
                                    <Controls:Column Name="Nome" 
    										 Title="Bovespa.Movimento.Label.Nome" 
                                             DisplayMemberPath="NomeCliente"/>
                                    <Controls:Column Name="Broker" 
    										 Title="Bovespa.Movimento.Label.Broker" 
                                             HorizontalCellAlignment="Right"
                                             DisplayMemberPath="Broker"/>
                                    <Controls:Column Name="NaturezaOperacao" 
    										 Title="Bovespa.Movimento.Label.NatOper" 
                                             DisplayMemberPath="NaturezaOperacao"/>
                                    <Controls:Column Name="Ativo" 
    										 Title="Bovespa.Movimento.Label.Ativo" 
                                             DisplayMemberPath="Ativo"/>
                                    <Controls:Column Name="Bolsa" 
    										 Title="Bovespa.Movimento.Label.Bolsa" 
                                             HorizontalCellAlignment="Left"
                                             DisplayMemberPath="NomeBolsa"/>
                                    <Controls:Column Name="Quantidade" 
    										 Title="Bovespa.Movimento.Label.Quantidade" 
                                             HorizontalCellAlignment="Right"
                                             StringFormat="n4"
                                             Integers="12"
                                             Decimals="4"
                                             DisplayMemberPath="Quantidade"/>
                                    <Controls:Column Name="TipoLiquidacao" 
    										 Title="Bovespa.Movimento.Label.TipoLiq" 
                                             DisplayMemberPath="TipoLiquidacao"/>
                                    <Controls:Column Name="Carteira" 
    										 Title="Bovespa.Movimento.Label.Carteira" 
                                             HorizontalCellAlignment="Right"
                                             DisplayMemberPath="Carteira"/>
                                    <Controls:Column Name="PercAcrescimoReducao" 
    										 Title="Bovespa.Movimento.Label.PercRedAcr" 
                                             HorizontalCellAlignment="Right"
                                             StringFormat="n8"
                                             Integers="4"
                                             Decimals="8"
                                             DisplayMemberPath="PercentualAcrescimoReducao"/>
                                    <Controls:Column Name="QuantidadeCasada" 
    										 Title="Bovespa.Movimento.Label.QteCasada" 
                                             HorizontalCellAlignment="Right"
                                             StringFormat="n4"
                                             Integers="12"
                                             Decimals="4"
                                             DisplayMemberPath="QuantidadeCasada"/>
                                    <Controls:Column Name="Preco" 
    										 Title="Bovespa.Movimento.Label.Preco" 
                                             HorizontalCellAlignment="Right"
                                             StringFormat="n8"
                                             Integers="11"
                                             Decimals="8"
                                             DisplayMemberPath="Preco"/>
                                    <Controls:Column Name="Validade" 
    										 Title="Bovespa.Movimento.Label.Validade" 
                                             HorizontalCellAlignment="Center"
                                             DisplayMemberPath="DataValidade"/>
                                    <Controls:Column Name="Discricionaria" 
    										 Title="Bovespa.Movimento.Label.Discr" 
                                             DisplayMemberPath="Discricionaria"/>
                                    <Controls:Column Name="Tipo" 
    										 Title="Bovespa.Movimento.Label.Tipo" 
                                             DisplayMemberPath="TipoOrdem"/>
                                    <Controls:Column Name="Operador" 
    										 Title="Bovespa.Movimento.Label.Operador" 
                                             DisplayMemberPath="Operador"/>
                                    <Controls:Column Name="ValorFinanciamento" 
    										 Title="Bovespa.Movimento.Label.ValorFinanc" 
                                             HorizontalCellAlignment="Right"
                                             StringFormat="n2"
                                             Integers="13"
                                             Decimals="2"
                                             DisplayMemberPath="ValorFinanciamento"/>
                                    <Controls:Column Name="PercFinanciamento" 
    										 Title="Bovespa.Movimento.Label.PercFinanc" 
                                             HorizontalCellAlignment="Right"
                                             StringFormat="n6"
                                             Integers="4"
                                             Decimals="6"
                                             DisplayMemberPath="PercentualFinanciamento"/>
                                    <Controls:Column Name="Mercado" 
    										 Title="Bovespa.Movimento.Label.Mercado" 
                                             DisplayMemberPath="Mercado"/>
                                    <Controls:Column Name="Distribuida" 
    										 Title="Bovespa.Movimento.Label.Distrib" 
                                             HorizontalCellAlignment="Center"
                                             DisplayMemberPath="Distribuida"/>
                                    <Controls:Column Name="AdministradoConcorrente" 
    										 Title="Bovespa.Movimento.Label.AdmConc" 
                                             DisplayMemberPath="AdministradoConcorrente"/>
                                    <Controls:Column Name="PessoaVinculada" 
    										 Title="Bovespa.Movimento.Label.PessVinc" 
                                             DisplayMemberPath="PessoaVinculada"/>
                                    <Controls:Column Name="DesprezaSaldo" 
    										 Title="Bovespa.Movimento.Label.DesprezaSaldo" 
                                             DisplayMemberPath="DesprezaSaldo"/>
                                    <Controls:Column Name="TipoFax" 
    										 Title="Bovespa.Movimento.Label.TipoFax" 
                                             DisplayMemberPath="TpFax"/>
                                </Controls:SinacorDataGrid.Columns>
                            </Controls:SinacorDataGrid>
                        </Grid>
                    </Controls:SinacorExpander>

                </Controls:SinacorExpanderContainer>

            </Controls:SinacorTabItem>
            <Controls:SinacorTabItem Header="{DynamicResource Bovespa.Movimento.Label.HistoricoNegocios}">
                <Controls:SinacorExpanderContainer Width="Auto" Height="Auto">
                    <Controls:SinacorExpanderContainer.RowDefinitions>
                        <RowDefinition Height="98" />
                        <RowDefinition Height="*" />
                    </Controls:SinacorExpanderContainer.RowDefinitions>
                    <Controls:SinacorExpander Grid.Row="0" 			
    					                        HorizontalAlignment="Stretch"
    					                        VerticalAlignment="Stretch"
    					                        Header="{DynamicResource Bovespa.Movimento.Label.Pesquisa}"
    					                        IsExpanded="True">
                        <Grid Width="Auto" Height="Auto" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,0,0,0">
                            <Controls:SinacorLabel HorizontalAlignment="Left" 
										Content="{DynamicResource Bovespa.Movimento.Label.DataPregao}" 
										HorizontalContentAlignment="Left"/>
                            <Controls:SinacorDatePicker HorizontalAlignment="Left" 
										Margin="0,21,0,0" 
										VerticalAlignment="Top" 
										TabIndex="1"
                                        x:Name="dtpDataPregaoNegocio"
                                        Value="{Binding FiltroHistoricoNegocio.DataPregao}"  
                                        IsRequired="True"                
                                                        />
                            <Controls:SinacorLabel Width="82"
                                    	Content="{DynamicResource Bovespa.Movimento.Label.Negocio}" 
                                    	VerticalAlignment="Top"
                                    	Margin="109,0,0,0"
                                    	HorizontalAlignment="Left" 
										HorizontalContentAlignment="Left" />
                            <Controls:SinacorInt32TextBox Margin="109,21,0,0"  
                                    	TabIndex="2"  
                                    	Width="115" 
                                    	HorizontalAlignment="Left" 
										VerticalAlignment="Top" 
                                        IsFormated="False"
										Integers="9"
                                        x:Name="txtNegocio"
                                        Value="{Binding FiltroHistoricoNegocio.Negocio}"  />
                            <Controls:SinacorLabel HorizontalAlignment="Left" 
                                    	Content="{DynamicResource Bovespa.Movimento.Label.Ativo}" 
                                    	Width="101" 
                                    	Margin="228,0,0,0" 
										VerticalAlignment="Top" 
										HorizontalContentAlignment="Left"
          
                                                   />
                            <Controls:SinacorTextBox VerticalAlignment="Top"
                                    	Margin="228,21,0,0"
                                    	TabIndex="3" 
                                    	Width="115" 
                                    	MaxLength="12" 
										HorizontalAlignment="Left" 
                                        x:Name="txtAtivoNegocio"
                                        Text="{Binding FiltroHistoricoNegocio.Ativo}"              
                                                     />
                            <Controls:SinacorButton HorizontalAlignment="Left"
										VerticalAlignment="Top"
                                    	Icon="IconButtonSearch"
                                    	ToolTip="{DynamicResource Bovespa.Movimento.Tooltip.PesquisarAtivo}"
                                    	Margin="347,21,0,0" 
                                    	TabIndex="4" 
                                        x:Name="btnPesquisaAtivoNegocio"
                                        OnBufferedClick="btnPesquisaAtivoNegocio_OnBufferedClick"            
                                                    />
                            <Controls:SinacorGroupBox VerticalAlignment="Top"
    							        Header="{DynamicResource Bovespa.Movimento.Label.Natureza}"
    							        Width="245"
    							        Height="54"
    							        HorizontalAlignment="Left" 
								        Margin="384,0,0,0" >
                                <Grid Width="Auto" Height="Auto" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,-2,0,0">
                                    <Controls:SinacorCheckBox VerticalAlignment="Top" 
										Content="{DynamicResource Bovespa.Movimento.Label.Compra}" 
										Width="101"
										TabIndex="5"
                                        x:Name="chkNatOprNegocioCompra"                      
                                                              />
                                    <Controls:SinacorCheckBox Width="101" 
										Content="{DynamicResource Bovespa.Movimento.Label.Venda}"
										HorizontalAlignment="Left" 
										Margin="105,0,0,0" 
										VerticalAlignment="Top"
										TabIndex="6"
                                        x:Name="chkNatOprNegocioVenda"                      
                                                              />
                                </Grid>
                            </Controls:SinacorGroupBox>
                            <Controls:SinacorButton Content="{DynamicResource Bovespa.Movimento.Label.Pesquisar}" 
                                    	Margin="651,8,0,0" 
                                    	HorizontalAlignment="Left" 
                                    	VerticalAlignment="Top" 
                                    	Width="115" 
                                    	IsDefault="True"
                                    	TabIndex="7" 
                                        x:Name="btnPesquisarNegocio"            
                                        Click="btnPesquisarNegocio_Click"                                                       
                                                    />
                            <Controls:SinacorButton HorizontalAlignment="Left" 
                        	            Margin="651,33,0,0" 
                        	            Content="{DynamicResource Bovespa.Movimento.Label.NovaPesquisa}" 
                        	            VerticalAlignment="Top" 
                        	            Width="115"
                        	            TabIndex="8"
                                        x:Name="btnNovaPesquisaNegocio"            
                                        Click="btnNovaPesquisaNegocio_Click"            
                                                    />
                        </Grid>
                    </Controls:SinacorExpander>
                    <Controls:SinacorExpander Grid.Row="1" 			
    					                        HorizontalAlignment="Stretch"
    					                        VerticalAlignment="Stretch"
    					                        Header="{DynamicResource Bovespa.Movimento.Label.Negocios}"
    					                        Margin="0,4,0,0"
    					                        Width="Auto"
    					                        Height="Auto"
    					                        IsExpanded="True" 
						                        AllowExpand="False" >
                        <Grid>
                            <Controls:SinacorDataGrid x:Name="dtgNegocios"
											          HorizontalAlignment="Stretch"
											          Width="Auto" 																				
											          VerticalAlignment="Stretch" 										
											          Margin="0,0,0,0"
											          AllowBeginInsert="False" 
                            				          AllowBeginUpdate="False"
											          AllowCancelInsert="False"
											          AllowCancelUpdate="False"
											          AllowSave="False" 
											          AllowDelete="False"  
											          TabIndex="9" 
                                                      MouseDoubleClick="dtgNegocios_MouseDoubleClick"
                                                      ItemsSource="{Binding ListaHistoricoNegocios}"
                                                      >
                                <Controls:SinacorDataGrid.ContextMenuTemplate>
                                    <DataTemplate>
                                        <StackPanel>
                                            <Controls:SinacorContextMenuItem x:Name="ContextMenu_ConsultarOrdensCasadasNegocio" Click="ContextMenu_ConsultarOrdensCasadasNegocio_Click" Header="{DynamicResource Bovespa.Movimento.Label.ConsOrdensCasadasNegocio}"/>
                                        </StackPanel>
                                    </DataTemplate>
                                </Controls:SinacorDataGrid.ContextMenuTemplate>
                                <Controls:SinacorDataGrid.Columns>
                                    <Controls:Column Name="Bolsa" 
    										 Title="Bovespa.Movimento.Label.Bolsa" 
                                             DisplayMemberPath="NomeBolsa" />
                                    <Controls:Column Name="Pregao" 
    										 Title="Bovespa.Movimento.Label.Pregao" 
                                             HorizontalCellAlignment="Center"
                                             DisplayMemberPath="DataPregao" />
                                    <Controls:Column Name="NaturezaOperacao" 
    										 Title="Bovespa.Movimento.Label.NatOper" 
                                             DisplayMemberPath="NaturezaOperacao"/>
                                    <Controls:Column Name="Ativo" 
    										 Title="Bovespa.Movimento.Label.Ativo" 
                                             DisplayMemberPath="Ativo"/>
                                    <Controls:Column Name="NumeroNegocio" 
    										 Title="Bovespa.Movimento.Label.NNegocio" 
                                             HorizontalCellAlignment="Right"
                                             DisplayMemberPath="Negocio"/>
                                    <Controls:Column Name="Hora" 
    										 Title="Bovespa.Movimento.Label.Hora" 
                                             HorizontalCellAlignment="Center"
                                             DisplayMemberPath="HoraNegocio"/>
                                    <Controls:Column Name="Quantidade" 
    										 Title="Bovespa.Movimento.Label.Quantidade" 
                                             HorizontalCellAlignment="Right"
                                             StringFormat="n4"
                                             Integers="11"
                                             Decimals="4"
                                             DisplayMemberPath="Quantidade"/>
                                    <Controls:Column Name="Preco" 
    										 Title="Bovespa.Movimento.Label.Preco" 
                                             HorizontalCellAlignment="Right"
                                             StringFormat="n8"
                                             Integers="11"
                                             Decimals="8"
                                             DisplayMemberPath="Preco"/>
                                    <Controls:Column Name="QuantidadeEspecificada" 
    										 Title="Bovespa.Movimento.Label.QteEspec" 
                                             HorizontalCellAlignment="Right"
                                             StringFormat="n4"
                                             Integers="11"
                                             Decimals="4"
                                             DisplayMemberPath="QuantidadeEspecificada"/>
                                    <Controls:Column Name="TipoLiquidacao" 
    										 Title="Bovespa.Movimento.Label.TipoLiq" 
                                             HorizontalCellAlignment="Center"
                                             DisplayMemberPath="TipoLiquidacao"/>
                                    <Controls:Column Name="Mercado" 
    										 Title="Bovespa.Movimento.Label.Mercado" 
                                             DisplayMemberPath="Mercado"/>
                                    <Controls:Column Name="Cliente" 
    										 Title="Bovespa.Movimento.Label.Cliente" 
                                             HorizontalCellAlignment="Right"
                                             DisplayMemberPath="CodigoCliente"/>
                                    <Controls:Column Name="Correspondente" 
    										 Title="Bovespa.Movimento.Label.Correspondente" 
                                             HorizontalCellAlignment="Right"
                                             DisplayMemberPath="Correspondente"/>
                                    <Controls:Column Name="Contraparte" 
    										 Title="Bovespa.Movimento.Label.Contraparte" 
                                             HorizontalCellAlignment="Right"
                                             DisplayMemberPath="Contraparte"/>
                                    <Controls:Column Name="Origem" 
    										 Title="Bovespa.Movimento.Label.Origem" 
                                             HorizontalCellAlignment="Center"
                                             DisplayMemberPath="Origem"/>
                                </Controls:SinacorDataGrid.Columns>
                            </Controls:SinacorDataGrid>
                        </Grid>
                    </Controls:SinacorExpander>

                </Controls:SinacorExpanderContainer>

            </Controls:SinacorTabItem>

        </Controls:SinacorTabControl>
    </Grid>

</Controls:SinacorWindow>